<template>
  <div>
    <h1>{{title}}</h1>
    <div class="box">我是一个元素</div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: '我是首页'
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
